prepare("select * from stall_details where en_no =:ab") ; $geteno->bindparam(":ab",$eno) ; $geteno->execute() ; if($geteno->rowcount() > 0) { $message = "SORRY THERE IS A RECORD WITH THIS EN NO IN THE DATABASE, CHECK YOUR RECORD AND TRY AGAIN" ; } else { if($client->stalldetails($client_id, $eno,$marketn,$mtown,$mlga,$msec,$mzone,$mline,$mstall,$stype,$certno,$certdate,$basis, $ansi,$admin)) { if($client->biodata($client_id,$fullname,$creg,$mid,$idno,$nation,$astate,$acity,$aphone,$emails,$aoffice,$admin)) { if($client->nextkin($client_id,$kfullname,$relation,$kaphone,$admin)) { $acts = $admin ."--Registered a Client with Reg No/Unique No--".$client_id ; if($client->monitor($acts)) { $message = "SUCCESS" ; //header("location: upc.php?pwd=$pwd") ; } } } } } //echo $message ; ?>